package com.intelligentcar.springboot.mapper;

import com.intelligentcar.springboot.bean.Manager;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ManagerMapper {
    //查询所有的维修人员
    public List<Manager> queryrepair();

    //后台新增人员
    public int manageradd(Manager manager);

    //查询后台人员有几条数据
    public int count();

    //查询后台人员有几条数据
    public int count1(Manager manager);

    //查询后台人员有几条数据
    public int count2(Manager manager);

    //查询后台人员有几条数据
    public int count3(Manager manager);

    //查询后台人员表所有数据
    public List<Manager> selectmanager(RowBounds rowBounds);

    //修改后台人员
    public int update(Manager manager);

    //删除后台人员
    public int delete(Manager manager);

    //查询后台人员
    public List<Manager> querybackstage(Manager manager, RowBounds rowBounds);

    //查询后台人员
    public List<Manager> querybackstage1(Manager manager, RowBounds rowBounds);

    //查询后台人员
    public List<Manager> querybackstage2(Manager manager, RowBounds rowBounds);

    //查询后台人员
    public List<Manager> querybackstage3(Manager manager);

    //登录
    public Manager login(Manager manager);

    //修改修改个人信息
    public int updateSelf(Manager manager);

    //修改参数状态(启用、禁用)
    public int updatePwd(Manager manager);

    //修改头像信息
    public int updateHead(Manager manager);

    //根据账号，查询个人信息
    public Manager selectInfor(Manager manager);

}
